package com.example.bili.service.impl;

import com.example.bili.dao.PutcointMapper;
import com.example.bili.service.FavorService;
import com.example.bili.service.PutcointService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class PutcointServicelmpl implements PutcointService {
    @Resource
    private PutcointMapper putcointMapper;

    @Override
    public boolean add(int userId, int trendId, int favorerId) {
        return putcointMapper.add(userId, trendId, favorerId)>0;
    }
}
